Ubuntu 16.04
Sponsored Link

Set System Locale
2016/04/21
 
Configure the System Locale of your system like follows.
[1] Replace to your own language on the example below.
root@dlp:~#
apt-get -y install language-pack-ja-base language-pack-ja
# display current settings

root@dlp:~#
   System Locale: LANG=en_US.UTF-8
                  LANGUAGE=en_US:en
       VC Keymap: jp106
      X11 Layout: jp
       X11 Model: jp106
     X11 Options: terminate:ctrl_alt_bksp

# display the list of locale

root@dlp:~#
localectl list-locales

C.UTF-8
en_AG
en_AG.utf8
en_AU.utf8
en_BW.utf8
...
...
en_ZA.utf8
en_ZM
en_ZM.utf8
en_ZW.utf8
ja_JP.utf8

# set locale

root@dlp:~#
localectl set-locale LANG=ja_JP.UTF-8 LANGUAGE="ja_JP:ja"
# display settings

root@dlp:~#
   System Locale: LANG=ja_JP.UTF-8
                  LANGUAGE=ja_JP:ja
       VC Keymap: jp106
      X11 Layout: jp
       X11 Model: jp106
     X11 Options: terminate:ctrl_alt_bksp
 
Tweet